# knowledge/examples/__init__.py

"""
知识库使用示例模块
包含各种使用场景的示例代码
"""

from knowledge.examples.main import main

__all__ = [
    "main",
]

# 示例查询集合
SAMPLE_QUERIES = {
    "regulations": [
        "差旅报销标准是什么？",
        "请假流程是怎样的？",
        "加班有什么规定？"
    ],
    "project": [
        "项目管理的流程是什么？",
        "项目验收标准有哪些？",
        "项目风险如何管理？"
    ],
    "sales": [
        "销售提成如何计算？",
        "客户跟进流程是什么？",
        "销售合同模板在哪里？"
    ]
}

# 示例配置
SAMPLE_CONFIGS = {
    "basic": {
        "collection_name": "enterprise_knowledge",
        "knowledge_root": "../resource",
        "force_rebuild": False
    },
    "advanced": {
        "collection_name": "department_knowledge", 
        "knowledge_root": "../resource",
        "force_rebuild": True,
        "chunk_size": 512,
        "similarity_top_k": 5
    }
}

# 导出示例数据
__all__.extend([
    "SAMPLE_QUERIES",
    "SAMPLE_CONFIGS", 
])

# print("✅ 知识库示例模块已加载")
